package com.itheima.reggie.common.Exception;

import com.itheima.reggie.common.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.ExceptionHandler;

import java.sql.SQLIntegrityConstraintViolationException;

/**
 * 自定义业务异常
 * */
public class CustomException extends RuntimeException{
    public CustomException(String message){
        super(message);
    }
}
